#ifndef MLABEL_H
#define MLABEL_H

#include <QWidget>
#include <QLabel>
#include <QMouseEvent>

class MLabel : public QLabel
{
    Q_OBJECT
public:
    MLabel(QWidget *parent = 0);
    void setCameraSeriNo(int serialno);
protected:
    void mousePressEvent(QMouseEvent *e);
private:
    int  m_nCamSerialNo;
signals:
    void sendCamSeiralNo(int serialno);
};

#endif // MLABEL_H
